<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" isELIgnored="false">
<head>
    <meta charset="UTF-8"/>
    <script type="text/javascript" src="js/jquery.js"></script>
    <title>修改货物</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
</head>
<body>
<center>
    <br/>
    <h1>修改货物信息</h1>
    <hr>
    <br/><br/>
    <div class="with:80%">

        <form action="adminUpdate" method="post">
            <table>
                <tr>
                    <!-- <td>订单号：</td> -->
                    <td><input id="name1" type="hidden" name="orderId" th:value="${edit.order_id}" ></td>
                </tr>
                <tr>
                    <td>客户编号：</td>
                    <td><input type="text"  name="customerId" th:value="${edit.customer_id }"></td>
                </tr>
                <tr>
                    <td>员工编号：</td>
                    <td><input type="text"  name="staffId" th:value="${edit.staff_id }"></td>
                </tr>
                <tr>
                    <td>货物:</td>
                    <td><input type="text"  name="cargo" th:value="${edit.cargo }"></td>
                </tr>
                <tr>
                    <td>送货地址：</td>
                    <td><input type="text"  name="address" th:value="${edit.address }"></td>
                </tr>
                <tr>
                    <td>金额：</td>
                    <td><input type="text"  name="amount" th:value="${edit.money }"></td>
                </tr>
                <tr>
                    <td>订货日期：</td>
                    <td><input type="text"  name="orderDate" th:value="${edit.order_date }"></td>
                </tr>
                <tr>
                    <td>交货日期：</td>
                    <td><input type="text"  name="expectedArrivalDate" th:value="${edit.delivery_date }"></td>
                </tr>
                <tr>
                    <td>状态：</td>
                    <td><input type="text"  name="status" th:value="${edit.status }"></td>
                </tr>
                <tr>
                    <td><input type="submit" value="确认修改"></td>
                    <td><input type="reset" value="重置">
                        &nbsp;&nbsp;&nbsp;<button><a href="javascript:history.back(-1)">返回上一页</a></button></td>

                </tr>

            </table>

        </form>

    </div>
</center>
<script type="text/javascript">

    /*  document.getElementById('name1').value='值';  */

</script>

</body>
</html>
